package dp.gr03.payroll.classifications;

import dp.gr03.payroll.Paycheck;
import dp.gr03.payroll.payrollDomain.PaymentClassification;

public class SalariedClassification implements PaymentClassification
{
    protected double salary;

    public SalariedClassification(double salary)
    {
        this.salary = salary;
    }

    public double getSalary()
    {
        return salary;
    }

    @Override
    public double calculatePay(Paycheck pc)
    {
        return salary;
    }
}
